package com.ycyoes.demos.netty.demo.protocol;

import lombok.Data;

import static com.ycyoes.demos.netty.demo.protocol.Command.LOGIN_REQUEST;
@Data
public class LoginRequestPacket extends Packet{
    private String userId;
    private String username;

    private String password;

    @Override
    public Byte getCommand() {
        return LOGIN_REQUEST;
    }

    static <T> T getRequestType(byte bytes) {
        return null;
    }
}
